package cn.openbiotoken;

import androidx.annotation.NonNull;

public interface BiometricsFeature<Feature> {

    String EXTRA_KEY_SIMILARITY = "similarity";

    String EXTRA_KEY_SAMPLE_ID = "sample_id";

    String getSupplier();

    void setSupplier(@NonNull final String supplier);

    String getSubjectType();

    void setSubjectType(@NonNull final String subjectType);

    String getFeatureType();

    void setFeatureType(@NonNull final String featureType);

    long getVersion();

    void setVersion(long version);

    @NonNull Feature getFeature();

    void setFeature(@NonNull final Feature feature);

    void putExtra(@NonNull final String key, final Float value);

    void putExtra(@NonNull final String key, final Long value);

    float getFloatExtra(@NonNull final String key);

    long getLongExtra(@NonNull final String key);
}
